package cn.liutao.auth.entity.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author liutao
 * @Description 登录参数
 * @date 2023/10/31 10:08
 * @Version 1.0
 */
@Data
public class LoginParam {
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotBlank(message = "验证码不能为空")
    private String code;
    private Integer isAdmin =0;
    private String key;
}
